package com.wms.service;

import com.wms.bean.PageBean;
import com.wms.dto.*;
import com.wms.entity.BReplenishmentDerail;
import com.wms.entity.BReviewDetails;
import com.wms.entity.ReplenishmentOrder;
import com.wms.entity.Suser;

import java.util.List;

public interface BReplenishmentDerailService {
    /**
     * 补货明细条件以及模糊查询
     * @param dto
     * @return
     */
    PageBean<List<BReplenishmentDerail>> queryOrderDerail(BReplenishmentsDerailDTO dto);


    /**
     * 补货单的查询
     */
    PageBean<List<ReplenishmentOrder>> queryOrders(BReplenishmentDerailDTO dto);

    /**
     * 新增补货单信息
     * @param replenishmentOrder
     * @return
     */
    int addOrder(ReplenishmentOrder replenishmentOrder);


    /**
     * 根据补货明细id查找补货内容
     * @param detailId
     * @return
     */
    List<BReviewDetails> selectStores(Integer detailId);


    /**
     * 审核门店通过信息
     */
    int updateAuditNum(StroresAuditDerailDTO stroresAuditDerailDTO);


    /**
     * 审核门店添加商品
     */
    int insertProductAndStores(SaveAuditProductDTO saveAuditProductDTO);

}
